package com.lsh.payment.core.dao.notify;

import com.lsh.payment.core.dao.MyBatisRepository;
import com.lsh.payment.core.model.notify.PayNotifyTask;

import java.util.List;
import java.util.Map;

/**
 * Project Name: lsh-payment
 * Created by jingyuan
 * Date: 16/11/8
 * 北京链商电子商务有限公司
 * Package com.lsh.payment.core.dao.payNotifyTmsTask
 * desc:
 * @author peter
 */
@MyBatisRepository
public interface PayNotifyTaskDao {
    /**
     * 插入
     * @param record
     * @return
     */
    int insertSelective(PayNotifyTask record);

    /**
     * 插入
     * @param id
     * @return
     */
    PayNotifyTask selectByPrimaryKey(Long id);

    /**
     * 查询
     * @param paraMap
     * @return
     */
    List<PayNotifyTask> selectTaskByStatus(Map<String,Object> paraMap);

    /**
     * 修改
     * @param record
     * @return
     */
    int updateByPrimaryKeySelective(PayNotifyTask record);

    /**
     * 删除
     * @param status
     * @return
     */
    int deleteByStatus(Integer status);

    /**
     * 修改
     * @param paraMap
     * @return
     */
    int updateEmailStatusById(Map<String,Object> paraMap);
}


